package site.longkui.consumer.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import site.longkui.consumer.feign.service.consumerFeignService;

@SpringBootApplication
@EnableEurekaClient //Eureka客户端
@EnableFeignClients//开启feign
public class sCloudFeign {
    public static void main(String[] args) {
        SpringApplication.run(sCloudFeign.class, args);
    }
}
